Missing tutorial files

Hi,

I’ve installed Fireworks 1.1.8 under RHEL 6.7 with Python 3.5.0 (in a virtualenv) with this command:

pip install FireWorks

Now I’m looking at the Dynamic Workflows tutorial which says to look at : fw_tutorials/dynamic_wf/printjob_wf.yaml

But the only files in fw_tutorials/dynamic_wf are these:

addmod_task.py
fibadd_task.py
init.py
printjob_task.py
pycache

Are there files missing from the distribution?

Thanks,
Matthew

Hi Matthew

You can download the full tutorial files here:

https://github.com/materialsproject/fireworks/tree/master/fw_tutorials

If you are installing via pip, it only installs Python and essential files and skips the tutorial files. This is listed in the installation method for pip (step #2)

https://pythonhosted.org/FireWorks/installation.html

It is also listed in the first tutorial in the box underneath step #2:

https://pythonhosted.org/FireWorks/introduction.html

If you have suggestions to clarify this, please let me know.

Best

Anubhav

···

On Tue, Nov 10, 2015 at 10:54 AM, [email protected] wrote:

Hi,

I’ve installed Fireworks 1.1.8 under RHEL 6.7 with Python 3.5.0 (in a virtualenv) with this command:

pip install FireWorks

Now I’m looking at the Dynamic Workflows tutorial which says to look at : fw_tutorials/dynamic_wf/printjob_wf.yaml

But the only files in fw_tutorials/dynamic_wf are these:

addmod_task.py
fibadd_task.py
init.py
printjob_task.py
pycache

Are there files missing from the distribution?

Thanks,
Matthew

You received this message because you are subscribed to the Google Groups “fireworkflows” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To view this discussion on the web visit https://groups.google.com/d/msgid/fireworkflows/625fb4cb-0c7a-4109-a47e-61b46ce7d937%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Also, probably the easiest way is to go the project root:

https://github.com/materialsproject/fireworks/

and click “Download ZIP” (towards the bottom of the right sidebar) to get the full folder.

···

On Tue, Nov 10, 2015 at 10:59 AM, Anubhav Jain [email protected] wrote:

Hi Matthew

You can download the full tutorial files here:

https://github.com/materialsproject/fireworks/tree/master/fw_tutorials

If you are installing via pip, it only installs Python and essential files and skips the tutorial files. This is listed in the installation method for pip (step #2)

https://pythonhosted.org/FireWorks/installation.html

It is also listed in the first tutorial in the box underneath step #2:

https://pythonhosted.org/FireWorks/introduction.html

If you have suggestions to clarify this, please let me know.

Best

Anubhav

On Tue, Nov 10, 2015 at 10:54 AM, [email protected] wrote:

Hi,

I’ve installed Fireworks 1.1.8 under RHEL 6.7 with Python 3.5.0 (in a virtualenv) with this command:

pip install FireWorks

Now I’m looking at the Dynamic Workflows tutorial which says to look at : fw_tutorials/dynamic_wf/printjob_wf.yaml

But the only files in fw_tutorials/dynamic_wf are these:

addmod_task.py
fibadd_task.py
init.py
printjob_task.py
pycache

Are there files missing from the distribution?

Thanks,
Matthew

You received this message because you are subscribed to the Google Groups “fireworkflows” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To view this discussion on the web visit https://groups.google.com/d/msgid/fireworkflows/625fb4cb-0c7a-4109-a47e-61b46ce7d937%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Hi Anubhav,

Thanks for your quick reply. Those places in the instructions are quite clear. I guess by bouncing around the documentation I managed to miss them. The only suggestion I have is that, since the pip installation includes the Python tutorial files, perhaps it could include the other files too.

Best,
Matthew

···

On Tuesday, November 10, 2015 at 1:54:01 PM UTC-5, Matthew Cahn wrote:

Hi,

I’ve installed Fireworks 1.1.8 under RHEL 6.7 with Python 3.5.0 (in a virtualenv) with this command:

pip install FireWorks

addmod_task.py
fibadd_task.py
init.py
printjob_task.py
pycache

Now I’m looking at the Dynamic Workflows tutorial which says to look at : fw_tutorials/dynamic_wf/printjob_wf.yaml

But the only files in fw_tutorials/dynamic_wf are these:

Are there files missing from the distribution?

Thanks,
Matthew

Ok - actually I have always had problems trying to control what does and doesn’t get included in a pip installation. It is reasonable that either the tutorials are not included at all, or that they contain all the necessary files and not just the .py. Unfortunately, I’m not sure why all the files aren’t included - the MANIFEST.in says to recursively include all fw_tutorial files that are not .pyc. The only way I know to include non .py files is to painstakingly list them in setup.py (or write a script to do so).

If you manage to figure it out, I am happy to merge a commit that makes the change.

Best

Anubhav

···

On Tuesday, November 10, 2015 at 11:17:27 AM UTC-8, Matthew Cahn wrote:

Hi Anubhav,

Thanks for your quick reply. Those places in the instructions are quite clear. I guess by bouncing around the documentation I managed to miss them. The only suggestion I have is that, since the pip installation includes the Python tutorial files, perhaps it could include the other files too.

Best,
Matthew

On Tuesday, November 10, 2015 at 1:54:01 PM UTC-5, Matthew Cahn wrote:

Hi,

I’ve installed Fireworks 1.1.8 under RHEL 6.7 with Python 3.5.0 (in a virtualenv) with this command:

pip install FireWorks

addmod_task.py
fibadd_task.py
init.py
printjob_task.py
pycache

Now I’m looking at the Dynamic Workflows tutorial which says to look at : fw_tutorials/dynamic_wf/printjob_wf.yaml

But the only files in fw_tutorials/dynamic_wf are these:

Are there files missing from the distribution?

Thanks,
Matthew