Commit cd9ee9bd authored by Isabelle Kieffer's avatar Isabelle Kieffer

Restore ods file

parent 97d1477b
......@@ -15,35 +15,80 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
"#my_directory = \"/home/letard/Sshade/Data/Carriere_Co2014\"\n",
"#my_directory = \"/home/letard/Sshade/Data/Thomas_Hg2016\"\n",
"my_directory = \"/home/letard/Sshade/Data/Thomas_Hg2016\"\n",
"#my_directory = \"/home/letard/Sshade/Data/Bissardon_Se2015\"\n",
"my_directory = \"/home/letard/Sshade/Data/Test\""
"#my_directory = \"/home/letard/Sshade/Data/Test\""
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 23,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
"=== The file laboratory_MEG.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file laboratory_LEG.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file experimentalist_JFG.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file experimentalist_IMS.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file experimentalist_PC.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file experimentalist_ST.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file pellet_1.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file pellet_2.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file frozen_solution_1.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file frozen_solution_2.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file frozen_solution_3.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file experiments_spectra.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file experiments_spectra_with_structure.csv has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n"
]
}
],
"source": [
"#csv2xml.ods_converter(my_directory,\"manip_Carriere_Co2014.ods\")\n",
"#csv2xml.ods_converter(my_directory,\"manip_Thomas_Hg2016.ods\")\n",
"csv2xml.ods_converter(my_directory,\"manip_Thomas_Hg2016.ods\")\n",
"#csv2xml.ods_converter(my_directory,\"manip_Bissardon_Se2015.ods\")\n",
"csv2xml.ods_converter(my_directory,\"manip_test1.ods\")"
"#csv2xml.ods_converter(my_directory,\"manip_test1.ods\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 24,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
"=== The file sample_ST_20161127_003.xml has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file sample_ST_20161127_001.xml has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n",
"\n",
"=== The file sample_ST_20161127_002.xml has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n"
]
}
],
"source": [
"csv2xml.multiple_file_writer(my_directory,\"pellet\")"
"#csv2xml.multiple_file_writer(my_directory,\"pellet\")\n",
"csv2xml.multiple_file_writer(my_directory,\"frozen_solution\")"
]
},
{
......@@ -75,11 +120,20 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 6,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
"=== The file sample_MC_20141202_004.xml has been written in /home/letard/Sshade/Data/Carriere_Co2014. ===\n"
]
}
],
"source": [
"csv2xml.sample_frozen_solution_file_writer(my_directory,\"frozen_solution_007.csv\")"
"csv2xml.sample_frozen_solution_file_writer(my_directory,\"frozen_solution_4.csv\")"
]
},
{
......@@ -102,20 +156,17 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 22,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"['INSTRU_XAS_TRANS_FAME', 'IM_20120926_001', 'IM_20120926_002', 'IM_20120926_005', '<![CDATA[Co K edge XAS transmission and XAS fluorescence and XAS HERFD of Co oxides and salts for the study of Co doping in maghemite nanoparticles, measured in transmission]]>']\n",
"['INSTRU_XAS_FLUO_FAME', 'IM_20120926_003', 'IM_20120926_004', '<![CDATA[Co K edge XAS transmission and XAS fluorescence and XAS HERFD of Co oxides for the study of Co doping in maghemite nanoparticles, measured in fluorescence]]>']\n",
"['INSTRU_XAS_CAS_Si333_FAME', 'IM_20120926_006', 'IM_20120926_007', 'IM_20120926_008', '<![CDATA[Co K edge XAS transmission and XAS fluorescence and XAS HERFD of Co doped maghemite nanoparticles, measured in HERFD]]>']\n",
"FILE experiments_spectra_IM_20120926_001.xml ALREADY EXISTS\n",
"FILE experiments_spectra_ST_20161124_001.xml ALREADY EXISTS\n",
"Do you want to overwrite it? y\n",
"\n",
"=== The file experiments_spectra_IM_20120926_001.xml has been written in /home/letard/Sshade/Data/Test. ===\n"
"=== The file experiments_spectra_ST_20161124_001.xml has been written in /home/letard/Sshade/Data/Thomas_Hg2016. ===\n"
]
}
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment