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

Make running on batch possible #46

Open
AvivCukierman opened this issue Sep 26, 2015 · 3 comments
Open

Make running on batch possible #46

AvivCukierman opened this issue Sep 26, 2015 · 3 comments
Labels

Comments

@AvivCukierman
Copy link

No description provided.

@kratsg
Copy link
Owner

kratsg commented Sep 26, 2015

I honestly wrote it that it's technically easy to implement. It just needs someone to sit down and write it.

Basically, it would be a separate file -- perhaps a RootCore package that includes Optimization as a submodule and would have a script similar to optimize in that it would take in all the files to run over, and it would let SampleHandler split it up, but the job itself would be to call do_optimize over each input. You just need to specify the correct directory into the function, and it should sort of handle itself. Or just have a separate python script that import optimize to grab all the helper functions.

@kratsg
Copy link
Owner

kratsg commented Sep 26, 2015

For reference, the best kind of script will be something like this one:

https://github.com/kratsg/TheAccountant/blob/master/scripts/GetWeights.py

@kratsg
Copy link
Owner

kratsg commented Mar 28, 2017

https://github.com/kratsg/optimization#on-a-cvmfs-enabled-machine -- with the CVMFS instructions here.. it is now possible to set up a consistent python environment and create a shell script that does the setup, and then execute the commands. Let me know if this isn't sufficient.

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

No branches or pull requests

2 participants