Skip to content
Snippets Groups Projects
Commit 5b3c5e1d authored by mimc's avatar mimc
Browse files

Created working 1 sim version of the workflow for developing wrappers

parent 0668947a
No related branches found
No related tags found
No related merge requests found
Pipeline #6726 failed
......@@ -273,8 +273,8 @@ class Hawc2_Simulation(object):
raise ValueError('The accompanying file "%s" must be contained within the directory of the HTC file, or one of the sub-directories'%(accompanying_file))
else:
accompanying_file=os.path.abspath(os.path.realpath(accompanying_file))
if not accompanying_file.startswith(self.source_directory):
raise ValueError('The accompanying file must be contained within the directory of the HTC file, or one of the sub-directories')
#if not accompanying_file.startswith(self.source_directory):
# raise ValueError('The accompanying file "%s" must be contained within the directory of the HTC file, or one of the sub-directories'%(accompanying_file))
destination=accompanying_file[len(self.source_directory)+1:]
self.accompanying_files.append(accompanying_file)
self.accompanying_destinations.append(destination)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment