Skip to content

Conversation

@lorsbach
Copy link
Contributor

  • Update on Docs
  • New PFAS Additional Information
  • Updates on Search Function
  • Added compatibility with enviPath 2.0

anguera5 and others added 12 commits September 25, 2024 10:46
Co-authored-by: lorsbach <lorsbach@users.noreply.github.com>
* Refactor code to include spikecompound additional information

* Implement suggested changes
* Coded add_structure method for Node object

* Add all Node structures when copying pathway
* Fixed docstring

* Fixed warning message

* Refactored name

* Added more information to the tutorial
…ction (#29)

* Added method to mirror changes of enviPath search function

* Added inchikey and canonical smiles to be retrievable from Compound and CompoundStructure objects

---------

Co-authored-by: lorsbach <lorsbach@users.noreply.github.com>
The enviPath object can now be initialized with a `base_url` other than `https://envipath.org/`.
This change supports the upcoming enviPath 2.0 API, which introduces a dedicated endpoint (`/api/legacy/`) and no longer allows direct retrieval of objects using only their plain id.

For example, consider the following package:

```
pack = Package(
    eP.requester, 
    id="https://envipath.org/package/32de3cf4-e3e6-4168-956e-32fa5ddb0ce1"
)
```

With this update, all API calls will automatically replace `https://envipath.org/` with the value specified in `eP.base_url`.
Adjusted Docs to show how to use enviPath 2.0 API
@lorsbach lorsbach merged commit 3ff3c89 into main Nov 19, 2025
@lorsbach lorsbach deleted the release_2025-11-19 branch November 19, 2025 19:10
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

Successfully merging this pull request may close these issues.

3 participants