Commit d9d60aa9 authored by Isabelle Kieffer's avatar Isabelle Kieffer

Adding labs and users

parent 427abb50
......@@ -2,20 +2,20 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import sys\n",
"sys.path.append(\"/home/letard/local/sshade/sshade\")\n",
"import csv2xml_r\n",
"#csv2xml?\n",
"import csv2xml\n",
"csv2xml?\n",
"#csv2xml.experiments_file_writer?"
]
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
......@@ -26,34 +26,13 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
"=== The file laboratory.csv has been written in /home/letard/Sshade/Data/Test. ===\n",
"\n",
"=== The file experimentalist.csv has been written in /home/letard/Sshade/Data/Test. ===\n",
"\n",
"=== The file pellet.csv has been written in /home/letard/Sshade/Data/Test. ===\n",
"\n",
"=== The file frozen_solution.csv has been written in /home/letard/Sshade/Data/Test. ===\n",
"\n",
"=== The file HPHT_solution.csv has been written in /home/letard/Sshade/Data/Test. ===\n",
"\n",
"=== The file experiments_spectra.csv has been written in /home/letard/Sshade/Data/Test. ===\n",
"\n",
"=== The file experiments_spectra_with_structure.csv has been written in /home/letard/Sshade/Data/Test. ===\n"
]
}
],
"outputs": [],
"source": [
"#csv2xml.ods_converter(my_directory,\"manip_Thomas_Hg2016.ods\")\n",
"#csv2xml.ods_converter(my_directory,\"manip_Bissardon_Se2015.ods\")\n",
"csv2xml_r.ods_converter(my_directory,\"manip_test3.ods\")"
"csv2xml_r.ods_converter(my_directory,\"manip_test4.ods\")"
]
},
{
......@@ -111,71 +90,13 @@
"csv2xml.sample_HPHT_solution_file_writer(my_directory,\"HPHT_solution.csv\")"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"FILE experiments_spectra_to.xml ALREADY EXISTS\n",
"Do you want to overwrite it? y\n",
"L2-3\n",
"0.255\n",
"\n",
"=== The file experiments_spectra_to.xml has been written in /home/letard/Sshade/Data/Test. ===\n"
]
}
],
"source": [
"csv2xml_r.experiments_file_writer(my_directory,\"experiments_spectra.csv\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"csv2xml.experiments_structure_file_writer(my_directory,\"experiments_spectra_with_structure.csv\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"resol={}"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"resol['Hg']=0.5"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print(resol['Au'][0])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"resol['Au']=[0.5,0.1]"
"csv2xml.experiments_file_writer(my_directory,\"experiments_spectra.csv\")"
]
},
{
......@@ -184,16 +105,7 @@
"metadata": {},
"outputs": [],
"source": [
"resol['Ag']=[5,'NULL']"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print(resol['Ag'][1])"
"csv2xml.experiments_structure_file_writer(my_directory,\"experiments_spectra_with_structure.csv\")"
]
},
{
......
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