Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Sshade
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Isabelle Kieffer
Sshade
Commits
a4e3bf2b
Commit
a4e3bf2b
authored
Jun 13, 2019
by
Isabelle LETARD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
User test
parent
cc5e58b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
19 deletions
+23
-19
Sshade-csv2xml.ipynb
Sshade-csv2xml.ipynb
+22
-18
sshade/csv2xml.py
sshade/csv2xml.py
+1
-1
No files found.
Sshade-csv2xml.ipynb
View file @
a4e3bf2b
...
...
@@ -7,7 +7,7 @@
"outputs": [],
"source": [
"import sys\n",
"sys.path.append(\"/home/
kieffer/Isabelle
/local/sshade/sshade\")\n",
"sys.path.append(\"/home/
letard
/local/sshade/sshade\")\n",
"import csv2xml\n",
"csv2xml?\n",
"#csv2xml.experiments_file_writer?"
...
...
@@ -19,8 +19,8 @@
"metadata": {},
"outputs": [],
"source": [
"my_directory = \"/home/
kieffer/Isabelle
/DataSshade/Bissardon_Se2015\"\n",
"#my_directory = \"/home/
kieffer/Isabelle/local
/DataSshade/Testemale_Cu2005\""
"my_directory = \"/home/
letard
/DataSshade/Bissardon_Se2015\"\n",
"#my_directory = \"/home/
letard
/DataSshade/Testemale_Cu2005\""
]
},
{
...
...
@@ -35,9 +35,24 @@
},
{
"cell_type": "code",
"execution_count":
null
,
"execution_count":
3
,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"FILE experimentalist_Bohic.xml ALREADY EXISTS\n",
"Do you want to overwrite it? y\n",
"\n",
"=== The file experimentalist_Bohic.xml has been written in /home/letard/DataSshade/Bissardon_Se2015. ===\n",
"FILE experimentalist_Bissardon.xml ALREADY EXISTS\n",
"Do you want to overwrite it? y\n",
"\n",
"=== The file experimentalist_Bissardon.xml has been written in /home/letard/DataSshade/Bissardon_Se2015. ===\n"
]
}
],
"source": [
"csv2xml.multiple_file_writer(my_directory,\"experimentalist\")"
]
...
...
@@ -89,20 +104,9 @@
},
{
"cell_type": "code",
"execution_count":
3
,
"execution_count":
null
,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"FILE experiments_spectra_CB_20190408_001.xml ALREADY EXISTS\n",
"Do you want to overwrite it? y\n",
"\n",
"=== The file experiments_spectra_CB_20190408_001.xml has been written in /home/kieffer/Isabelle/DataSshade/Bissardon_Se2015. ===\n"
]
}
],
"outputs": [],
"source": [
"csv2xml.experiments_file_writer(my_directory,\"experiments_spectra.csv\")"
]
...
...
sshade/csv2xml.py
View file @
a4e3bf2b
...
...
@@ -51,7 +51,7 @@
from
copy
import
deepcopy
import
pyexcel
TemplatePath
=
"/home/
kieffer/Isabelle
/local/sshade/Templates/"
TemplatePath
=
"/home/
letard
/local/sshade/Templates/"
#======================================================================================================================#
# ODS TO CSV FILE CONVERTER #
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment