Skip to content

Commit

Permalink
Merge pull request #333 from OpenCOMPES/fix-sxp-tutorial
Browse files Browse the repository at this point in the history
Fix determination of home directory for SXP tutorial
  • Loading branch information
rettigl authored Jan 18, 2024
2 parents 9f92cfd + 104db24 commit 6d330b0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tutorial/5_sxp_workflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"%matplotlib widget\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import os\n",
"\n",
"import sed\n",
"from sed import SedProcessor"
Expand Down Expand Up @@ -53,7 +54,7 @@
" \"core\": {\n",
" \"paths\": {\n",
" \"data_raw_dir\": \"/gpfs/exfel/exp/SXP/202302/p004316/raw/\",\n",
" \"data_parquet_dir\": \"~/sxp_parquet/\",\n",
" \"data_parquet_dir\": os.path.expanduser(\"~\") + \"/sxp_parquet/\",\n",
" }\n",
" }\n",
"}\n",
Expand Down Expand Up @@ -379,9 +380,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "sed-odDZdDHM-py3.9",
"display_name": "sed_poetry2",
"language": "python",
"name": "python3"
"name": "sed_poetry2"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -393,7 +394,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.9.16"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 6d330b0

Please sign in to comment.