Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible error in filepath lookup? #546

Open
rmastand opened this issue Aug 7, 2023 · 0 comments
Open

Possible error in filepath lookup? #546

rmastand opened this issue Aug 7, 2023 · 0 comments

Comments

@rmastand
Copy link

rmastand commented Aug 7, 2023

I'm going through the tutorials, specifically the 2a parton level analysis. . In the same directory as the notebook, I have a file "cards", which contains proc_card_signal.dat, param_card_template,dat, and run_card_signal_large.dat.

I run the command in the 5th executable cell:

miner.run(
    sample_benchmark="sm",
    mg_directory=mg_dir,
    mg_process_directory="./mg_processes/signal1",
    proc_card_file="cards/proc_card_signal.dat",
    param_card_template_file="cards/param_card_template.dat",
    run_card_file="cards/run_card_signal_large.dat",
    log_directory="logs/signal",
    python_executable="python3",
)

which results in the error FileNotFoundError: [Errno 2] No such file or directory: './mg_processes/signal1/Cards/run_card.dat' .

So the cell is creating the folder mg_processes/signal1, but the only relevant files seem to be in './mg_processes/signal1/madminer/cards/run_card_0.dat', with the _0 appended to them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant