fix couple of environment variables
"kgtk_path = \"/data/amandeep/Github/kgtk\"\n",
"os.environ[\"EXAMPLES_DIR\"] = kgtk_path + \"/examples\"\n",
"os.environ[\"USECASE_DIR\"] = kgtk_path + \"/use-cases\"\n",
- "os.environ['TEMP'] = temp"
+ "os.environ['TEMP'] = temp\n",
+ "os.environ[\"OUT\"] = out\n",
+ "os.environ[\"DATATYPES\"] = datatypes"
]
},
{
"Copy the property datatypes and metadata types file over"
]
},
- {
- "cell_type": "code",
- "execution_count": 62,
- "metadata": {},
- "outputs": [],
- "source": [
- "os.environ[\"DATATYPES\"] = datatypes"
- ]
- },
{
"cell_type": "code",
"execution_count": 63,
"metadata": {},
"outputs": [],
"source": [
- "!cp $DATATYPES $OUT/metadata.property.datatypes.tsv.gz"
+ "!cp $DATATYPES $out/metadata.property.datatypes.tsv.gz"
]
},
{
"metadata": {},
"outputs": [],
"source": [
- "os.environ[\"TEMP\"] = temp\n",
- "os.environ[\"OUT\"] = out"
+ "!$cat_command"
]
},
{
