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

Need for small QOL improvement for mtuq.event.Force #223

Closed
thurinj opened this issue Aug 25, 2023 · 3 comments
Closed

Need for small QOL improvement for mtuq.event.Force #223

thurinj opened this issue Aug 25, 2023 · 3 comments

Comments

@thurinj
Copy link
Member

thurinj commented Aug 25, 2023

The mtuq.event.Force() is currently lacking a method that outputs the force vector as a dictionary.

It would be convenient to have a similar method that in [mtuq.event.Force()] (

def as_dict(self):
)

so that it is easier to build an output dictionary to save it as a JSON file (as in DetailedAnalysis.py)

@rmodrak
Copy link
Member

rmodrak commented Aug 26, 2023

@thurinj
Copy link
Member Author

thurinj commented Aug 28, 2023

Looks good to me!

@rmodrak
Copy link
Member

rmodrak commented Aug 29, 2023

Added in #224

@rmodrak rmodrak closed this as completed Aug 29, 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

2 participants