-
Notifications
You must be signed in to change notification settings - Fork 25
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
Updated mPDF tutorial materials #11
base: main
Are you sure you want to change the base?
Conversation
Ben, I took a quick look and here are some lightning comments.
|
Hi @benfrandsen , sorry for the delay. I will organize my comments and questions when I went through the tutorial, from the view of a new user for mPDF. Should be done before tomorrow. |
@sbillinge - the instructions how to run a notebook are in the main README file for the project. They need some update, because the start command is now @benfrandsen - could you please add a quick installation instructions for I will check the PR more carefully later, but thus far I found these small points: use UNIX line ends for text filesI have already fixed that for the data files in your PR. Please apply that fix using:
use topic-named branches for PR(relevant for future PRs) A good practice for starting a new PR is to create a new branch with a descriptive name,
This helps to avoid merge conflicts, since you'd be starting your work from the last version, and is also more descriptive once your branch gets merged. (Compare commit message |
Thanks @pavoljuhas Thx. |
Hi @benfrandsen , congrats on the new baby, Abel!! I just gathered all my edits, comments, and questions when I went through your tutorial jupyter notebooks as a new user of mPDF. I didn't find an efficient way to make edits on jupyter notebooks, in which you can still git diff to see my edits. So I created a new branch on my fork, and wrote all my edits in Markdown cells below the related part in the same jupyter notebooks. Please see 3cfb3f5 You can search "#long#" one by one throughout these tutorial jupyter notebooks For instructions and installing, it was good to me and also looked straightforward to users I think. Just one quick point for you reference, if acting as a totally new python and jupyter notebook user, it might be good to add some words like "Please change jupyter kernel into the environment where user install mPDF package, which is named as Thank you! |
Hi In [1]: %run example_fromPDFgui.pyModuleNotFoundError Traceback (most recent call last) ModuleNotFoundError: No module named 'diffpy.mpdf' |
Hi @dipankas , mpdf module needs to be installed separately from the diffpy-cmi package. Did you run |
It seems like this PR is ready to be merged, right? @sbillinge @benfrandsen |
@dragonyanglong I believe the current version of the tutorial materials are NOT compatible with the python3 version of diffpy, so I should update that before the merge happens. Would it be better just to delete this PR and start a new one altogether? |
I need to catch up with our current status of diffpy-cmi releasing. Do we have a P3 release? If we do, is it the main product that we are pointing people to? |
@dragonyanglong |
The version on my personal github page at https://github.com/benfrandsen/diffpy.magpdf is compatible with python 3. You can download and install from source inside your existing diffpy environment. |
I have recently updated the mpdf directory within the cmi_scripts directory, and I would like to merge these changes into the master branch. I ended up removing some of the python scripts and replacing them with jupyter notebooks. I haven't made any changes to any of the other directories.