Skip to content

Possible error in filepath lookup? #546

@rmastand

Description

@rmastand

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions