-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 18-give-pylint-requirements
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# PySpinW will have a backwards compatibility layer | ||
|
||
## Context | ||
|
||
A clean class structure for pySpinW will entail making some relatively large changes to the intended use, this | ||
might be off-putting to some users, and will break compatibility with existing scripts. | ||
|
||
One big change is that there won't be a single big, stateful class, but lots of smaller stateless classes. | ||
|
||
However, it would not be difficult to maintain existing syntax by putting all the new stuff into a stateful class that | ||
closely resembles the original matlab. | ||
|
||
## Decision | ||
|
||
Create a class that mimics the original spinW interface, backed by the new objects. | ||
In particular, this class will only expose functionality which is currently in the Matlab version (and will omit new functionality written for Python) in order to encourage users to migrate. | ||
|
||
## Status | ||
|
||
Accepted | ||
|
||
## Consequences | ||
|
||
* Will take time to do | ||
* Might prevent users from migrating, and become permanent |