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

Copy / paste or export property dialogs #1505

Closed
maverick422 opened this issue Dec 5, 2023 · 9 comments
Closed

Copy / paste or export property dialogs #1505

maverick422 opened this issue Dec 5, 2023 · 9 comments

Comments

@maverick422
Copy link

How can I get the output file of various types of properties in the analysis like atom and bond, dihedral angle properties, I mean to output these parameters in the form of a file like excel file

Copy link

welcome bot commented Dec 5, 2023

Thanks for opening your first issue here! Please try to include example files and screenshots if possible. If you're looking for support, please post on our forum: https://discuss.avogadro.cc/

@ghutchis ghutchis changed the title Properties output Copy / paste or export property dialogs Dec 5, 2023
@ghutchis
Copy link
Member

ghutchis commented Dec 5, 2023

@Surajjalpun2002 - can you take a look at #1506 and see if we can add a small context menu with "Copy" and "Export CSV" or similar options?

https://stackoverflow.com/a/24255300/131896

@Surajjalpun2002
Copy link
Contributor

will do.

@maverick422
Copy link
Author

I am very grateful for this, but I have another question, when I use the export tool to export the data file of LAMMPS, the file seems to be missing the information about bonds and others, so that in ovito, there is an error message said ‘’Bond type out of range in Bonds section of LAMMPS data file at line 654‘’.I'm not sure if it's just me or something else, since I have windows 10, Avogadro version 1.98.1 and Avogadro Library fersion: 1.98.1, and I'm constructing a macromolecular structure with six monomers crosslinked. I've tried other formats of output files that don't seem to work to keep the bond properties and so on, so I'm filing this ISSUE about the properties information and look forward to your reply, thanks!

@Surajjalpun2002
Copy link
Contributor

Surajjalpun2002 commented Dec 6, 2023

image
image
is this fine?

@ghutchis
Copy link
Member

ghutchis commented Dec 6, 2023

Yes. It might be useful to also add an "Export..." command that brings up a dialog, but this is a great start.

@Surajjalpun2002
Copy link
Contributor

Surajjalpun2002 commented Dec 8, 2023

image
image
image

currently only csv file can be created though

@ghutchis
Copy link
Member

ghutchis commented Dec 8, 2023

Sure, looks good. Can you submit a pull request? Thanks!

@ghutchis
Copy link
Member

ghutchis commented Dec 8, 2023

Fixed by #1515 thanks!

@ghutchis ghutchis closed this as completed Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants