diff --git a/tools/interactive/interactivetool_qiskit_jupyter_notebook.xml b/tools/interactive/interactivetool_qiskit_jupyter_notebook.xml index 983f6093239..aed9d00cf24 100644 --- a/tools/interactive/interactivetool_qiskit_jupyter_notebook.xml +++ b/tools/interactive/interactivetool_qiskit_jupyter_notebook.xml @@ -1,11 +1,33 @@ - + interactive tool - 0.2 + 1.0 - thepineapplepirate/qiskit_galaxy:1.1.0 + thepineapplepirate/qiskit_galaxy:2.0.0 + + + + + + + + + + @@ -28,7 +50,7 @@ import json, os, shutil import os.path galaxy_inputs = "galaxy_inputs.json" galaxy_inputs_raw = "galaxy_inputs_raw.json" -base_staging_path = "jupyter" +base_staging_path = "/import/jupyter" base_data_staging_path = "galaxy_inputs" data_staging_path = os.path.join(base_staging_path, base_data_staging_path) os.makedirs(data_staging_path, exist_ok=True) @@ -97,35 +119,59 @@ if additional_ids: galaxy_ie_helpers.get(int(hda["hid"])) try: - GALAXY_INPUTS = json.load(open(os.path.join(os.environ.get("GALAXY_WORKING_DIR", ""), "jupyter", "galaxy_inputs", "galaxy_inputs.json"))) + GALAXY_INPUTS = json.load(open("/import/jupyter/galaxy_inputs/galaxy_inputs.json")) except FileNotFoundError: GALAXY_INPUTS = {} ]]> - - + +