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

Can not find config file in 01.alphaTrack example #122

Closed
tsiledak opened this issue Nov 14, 2023 · 4 comments
Closed

Can not find config file in 01.alphaTrack example #122

tsiledak opened this issue Nov 14, 2023 · 4 comments

Comments

@tsiledak
Copy link

Dear experts,

I am trying to execute the example: 01.alphaTrack
I am following the procedure explained in README.md
But when I execute:
restManager --c processing --f data/Run_5MeV_1um.root

gt226504@dphnpct97:~/myWorkDir/01.alphaTrack$ restManager --c processing --f data/Run_5MeV_1um.root
Starting pid: 25273

       [==                                  Launching TRestManager...                                   ==]           
                  
       [==                                    Creating TRestManager                                     ==]           
       [==                                            path:                                             ==]           

-- Error : Filename:
-- Error : Config File does not exist. Right path/filename?

Press a KEY to continue ...

       [==                                            Done!                                             ==]      

I am getting those errors...
What might be wrong? The file data/Run_5MeV_1um.root was created as stated in the README file...

Thanks a lot in advance

Best regards

Georgios

@lobis
Copy link
Member

lobis commented Nov 14, 2023

Hello @tsiledak ,

Looks like you are not correctly selecting the configuration file. What comes after the --c options should be the name of a configuration file (rml file). processing may not be how the file is named, perhaps it's named processing.rml?

@tsiledak
Copy link
Author

Thanks so much!
I actually had a look at the 01.alphaTrack directory where the README file requires:
restManager --c processing --f data/Run_5MeV_1um.root

But when I execute the same line named processing.rml, it seems that it works!

@jgalan
Copy link
Member

jgalan commented Nov 14, 2023

Thanks for the feedback Giorgos, I just fixed the typo in our README.

Please, approve rest-for-physics/framework#491

@jgalan jgalan closed this as completed Nov 14, 2023
@jgalan
Copy link
Member

jgalan commented Nov 14, 2023

Please @tsiledak accept the GitHub invitation that you should have received to become a member at rest-for-physics so that I can ask you to review the PR mentioned in this issue

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

3 participants