Skip to content
Snippets Groups Projects
Commit 730fed36 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: make path os independent

parent 20f39511
Branches f-fix-paths
No related tags found
No related merge requests found
Pipeline #61854 passed
......@@ -30,15 +30,15 @@ automated analysis pipeline.
import sys
from datetime import datetime
from pathlib import Path
import linkahead as db
def main():
script = db.File(
file="../src/caosadvancedtools/serverside/examples/example_script.py",
path=("AutomatedAnalysis/scripts/"
+ str(datetime.now())+"example_script.py"),
file=Path(*"../src/caosadvancedtools/serverside/examples/example_script.py".split('/')),
path=("AutomatedAnalysis/scripts/" + str(datetime.now())+"example_script.py"),
)
script.insert()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment