Skip to content

Commit

Permalink
bug: change directory of css file
Browse files Browse the repository at this point in the history
  • Loading branch information
younesStrittmatter committed Oct 13, 2024
1 parent bfd842a commit 048a4e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ def create_autora_example_project(requirements_file):
example_file = 'mathematical_model_discovery'
if answers['project_type'] == 'JsPsych - Bandit':
example_file = 'js_psych_bandit'
parent = os.path.join(os.getcwd(), 'testing_zone/css')
parent = os.path.join(os.getcwd(), 'testing_zone/src/css')
os.mkdir(parent)
shutil.move(f'example_css/js_psych_bandit.css', 'testing_zone/css/slot-machine.css')
shutil.move(f'example_css/js_psych_bandit.css', 'testing_zone/src/css/slot-machine.css')

shutil.move(f'example_mains/{example_file}.js', 'testing_zone/src/design/main.js')
shutil.move(f'example_workflows/{example_file}.py', 'researcher_hub/autora_workflow.py')
Expand Down

0 comments on commit 048a4e5

Please sign in to comment.