Skip to content

add pickling#258

Merged
CunliangGeng merged 6 commits into
devfrom
add_pickling
Jun 17, 2024
Merged

add pickling#258
CunliangGeng merged 6 commits into
devfrom
add_pickling

Conversation

@CunliangGeng

@CunliangGeng CunliangGeng commented Jun 14, 2024

Copy link
Copy Markdown
Member

Changes

  • add __reduce__ to ensure pickling works for all attributes of e.g. BGC, GCF, ...
  • add save_data method to NPLinker class

With the save_data method, it's ready to save all relevant data to a pickle file for the development of webapp.

@CunliangGeng CunliangGeng requested a review from gcroci2 June 14, 2024 08:46
@CunliangGeng CunliangGeng self-assigned this Jun 14, 2024
@CunliangGeng CunliangGeng marked this pull request as ready for review June 14, 2024 08:46
@CunliangGeng CunliangGeng force-pushed the fix_mypy_ruff_errors branch from 621635a to 4d54869 Compare June 14, 2024 11:35
Base automatically changed from fix_mypy_ruff_errors to dev June 14, 2024 11:38
AttributeError: `np.NINF` was removed in the NumPy 2.0 release. Use `-np.inf` instead.
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
43.8% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

CunliangGeng commented Jun 17, 2024

Copy link
Copy Markdown
Member Author

Merge activity

@CunliangGeng CunliangGeng merged commit bedebde into dev Jun 17, 2024
@CunliangGeng CunliangGeng deleted the add_pickling branch June 17, 2024 13:41
@CunliangGeng CunliangGeng mentioned this pull request Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants