Skip to content

Commit

Permalink
Merge pull request #7 from AutoResearch/4-add-bandit-task
Browse files Browse the repository at this point in the history
bug: change directory of css file
  • Loading branch information
younesStrittmatter authored Oct 13, 2024
2 parents 2a38f2c + 048a4e5 commit a42ae24
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 a42ae24

Please sign in to comment.