Skip to content

analyze aggregate size#2822

Closed
aligh92 wants to merge 79 commits intoMDAnalysis:developfrom
viral28:issue-2789-aggregation-size
Closed

analyze aggregate size#2822
aligh92 wants to merge 79 commits intoMDAnalysis:developfrom
viral28:issue-2789-aggregation-size

Conversation

@aligh92
Copy link

@aligh92 aligh92 commented Jul 3, 2020

developed code for issue #2789 i.e to analyze the aggregate size
Changes made in this Pull Request:

PR Checklist

  • Tests?
  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?
  • New code proposal

richardjgowers and others added 30 commits February 28, 2016 12:40
Conflicts:
	package/CHANGELOG
	package/MDAnalysis/version.py
	testsuite/CHANGELOG
	testsuite/setup.py
Conflicts:
	maintainer/conda/MDAnalysis/meta.yaml
	package/CHANGELOG
	package/MDAnalysis/version.py
	package/setup.py
	testsuite/CHANGELOG
	testsuite/MDAnalysisTests/__init__.py
	testsuite/setup.py
- updated all modules
- removed any code that guards against scipy or matplotlib import
- conforms to style guide https://github.com/MDAnalysis/mdanalysis/wiki/Style-Guide#module-imports-in-mdanalysisanalysis
- fixes MDAnalysis#1159
- fixes MDAnalysis#1361
Conflicts:
	package/CHANGELOG
@aligh92
Copy link
Author

aligh92 commented Sep 10, 2020

@lilyminium Thank you so much for looking into that. It is weird, I did that on my computer, I do not know why it did not transfer here!!! Anyway, I made the change again, let's see how it works.

@lilyminium
Copy link
Member

The error is odd. I think it's failing to read the xtc offsets?

    @pytest.fixture()
    def atomgroup():
>       return mda.Universe(Asph_gro, Asph_xtc).select_atoms('resname AsphC')

... [more error log, until it dies in np.load] ...
                # Try a pickle
                if not allow_pickle:
>                   raise ValueError("Cannot load file containing pickled data "
                                     "when allow_pickle=False")

@jbarnoud may be the one to ask here. The rest of the tests pass so it's likely not because of something with your file.

@aligh92
Copy link
Author

aligh92 commented Sep 17, 2020

@lilyminium Thank you so much for looking into the errors. I really appreciate your help and time.

Dear @jbarnoud,
Could you please look into this error and check if there is something wrong, please?
Looking forward to hearing from you,

@aligh92
Copy link
Author

aligh92 commented Sep 25, 2020

Dear @orbeckst

I am wondering if you can help me with this issue. I could run the test locally but it seems there is some small issue here.

Any help is appreciated.
Thank you in advance,
Best regards,
Ali

@jbarnoud
Copy link
Contributor

From a quick look at the error message, it looks like there is an issue reading the offset for the test XTC file, indeed. As it only complains about the file introduced in this PR, I doubt there is an issue with the general system producing and reading the file (though it remains a possibility, of course). However, looking at the files introduced here, I do not see what could cause the problem if you can run the tests locally. Could you do the following test locally:

  • if the offset file exists for Asph_xtc (hidden file next to the trajectory with a similar name to the trajectory and a .npz extension), delete it
  • create a universe for the trajectory (the offset should be recreated)
  • create another universe for the trajectory (the offset should be loaded)

If this works, then I do not know what the problem is. If it fails somewhere, then there is probably an issue with the trajectory. My hypothesis (and it is a not very substantiated one) is that the tests pass locally for you because you have an offset file already while the CI would not have that file.

@aligh92
Copy link
Author

aligh92 commented Sep 26, 2020

Dear @jbarnoud,

Thank you so much for your reply. I am looking to that based on your comments and I will get back to you as soon as possible.

Best regards

@aligh92
Copy link
Author

aligh92 commented Oct 5, 2020

Dear @jbarnoud,
I deleted the .npz file and ran the pytest again. It went through successfully and the .npz file was build by itself again. I am not sure if this is what you meant. Please see the attached screenshot which is the output of local pytest.

image

@jbarnoud
Copy link
Contributor

jbarnoud commented Oct 5, 2020 via email

Fix indentation.

Mostly there to re-run the azure pipelines.
@jbarnoud
Copy link
Contributor

jbarnoud commented Oct 5, 2020

@aligh92 I did not manage to just re-run the pipeline to see if it works by just insisting. So I added a commit to your branch fixing an indentation error. The pipelines are running again now, we will see if it works any better.

@aligh92
Copy link
Author

aligh92 commented Oct 5, 2020

Dear @jbarnoud ,

Looks like we still have a problem. The main problem that I saw before and it is still there is related to the attached photo. Please advice me.

image

@orbeckst
Copy link
Member

Aggregate size analysis might be a good fit for a MDAKit (independent analysis package linked to MDAnalysis).

@aligh92 would you be interested in pursuing that route?

@orbeckst orbeckst added close? Evaluate if issue/PR is stale and can be closed. Component-Analysis labels Oct 28, 2021
@aligh92
Copy link
Author

aligh92 commented Nov 1, 2021 via email

@orbeckst orbeckst added the MDAKit suitable for MDAKit label Nov 1, 2021
@orbeckst
Copy link
Member

orbeckst commented Nov 1, 2021

@aligh92 , good to hear that you're interested in doing an MDAKit. For right now I added the MDAKit label to the PR and issue.

We are working on guidelines. We'll have a document for discussion soon and then we'd really like to hear from developers like you what they think. We'll also be very happy if you'd want to try it out and give feedback on the process.

@aligh92
Copy link
Author

aligh92 commented Nov 3, 2021 via email

@hmacdope hmacdope added the stale label Nov 5, 2023
@hmacdope
Copy link
Member

hmacdope commented Nov 8, 2023

Closing as stale, feel free to re-open if you want to continue.

@hmacdope hmacdope closed this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

close? Evaluate if issue/PR is stale and can be closed. Component-Analysis MDAKit suitable for MDAKit stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Aggregation analysis

10 participants