From 2954f77af423c4d9ab205b36bddac55e6f69cb30 Mon Sep 17 00:00:00 2001 From: Ben RdO Date: Fri, 10 Jul 2020 09:45:26 -0700 Subject: [PATCH] refactor: switch to relative path (#230) --- powersimdata/scenario/execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powersimdata/scenario/execute.py b/powersimdata/scenario/execute.py index bb18d3896..a292282a4 100644 --- a/powersimdata/scenario/execute.py +++ b/powersimdata/scenario/execute.py @@ -407,7 +407,7 @@ def _create_link_to_base_profile(self, kind): target = kind + ".csv" command = "ln -s %s %s" % ( - posixpath.join(const.BASE_PROFILE_DIR, source), + posixpath.join("../../raw", source), posixpath.join(self.TMP_DIR, target), ) stdin, stdout, stderr = self._ssh.exec_command(command)