Missing tutorial files

8 views
Skip to first unread message

matthe...@gmail.com

unread,
Nov 10, 2015, 1:54:01 PM11/10/15
to fireworkflows
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

Anubhav Jain

unread,
Nov 10, 2015, 1:59:50 PM11/10/15
to matthe...@gmail.com, fireworkflows
Hi Matthew

You can download the full tutorial files here:

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)


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


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

Best
Anubhav





--
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 fireworkflow...@googlegroups.com.
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.

Anubhav Jain

unread,
Nov 10, 2015, 2:06:08 PM11/10/15
to Matthew Cahn, fireworkflows
Also, probably the easiest way is to go the project root:


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

Matthew Cahn

unread,
Nov 10, 2015, 2:17:27 PM11/10/15
to fireworkflows
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

Anubhav Jain

unread,
Nov 10, 2015, 2:23:19 PM11/10/15
to fireworkflows
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
Reply all
Reply to author
Forward
0 new messages