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

"Error: No method asJSON S3 class ..." when Andromeda object has attributes of class #54

Open
schuemie opened this issue Mar 29, 2023 · 1 comment

Comments

@schuemie
Copy link
Member

I like that Andromeda saves the attributes as JSON, as that will allow the same object to be used in Python. But right now it is very picky, and will throw an error if any of the attributes contains an S3 object.

Recommend using force = TRUE when calling write_json to avoid annoying errors.

@schuemie
Copy link
Member Author

Yikes. This also converts lists to tables. All of that is solved in ParallelLogger's saveSettingsToJson(). I recommend using that.

ablack3 pushed a commit that referenced this issue Sep 17, 2023
* Using ParallelLogger's JSON functions to store attributes. Fixes #54

* Dropping jsonlite from DESCRIPTION

---------

Co-authored-by: Admin_mschuemi <[email protected]>
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

1 participant