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