Commit graph

6 commits

Author SHA1 Message Date
milesial 408f2c9ec2 Merge pull request #353 from Gouvernathor/patch-1
Various minor changes

Former-commit-id: e36c782fbfc976b7326182a47dd7213bd3360a7e
2022-04-11 23:56:51 +02:00
qslia 52ced2e757 print assert error correctly
Former-commit-id: 8c7feff7cf740e788228839883a592c87097add2
2022-04-10 07:54:48 +08:00
Gouvernathor 99e36df431 change the order of asserts
Former-commit-id: 6cd4b68c997542cf0a9ca205120fd4f275e3cb24
2022-04-06 13:45:19 +02:00
Gouvernathor 7f800aff75 Simplifying
- avoid using classmethod if the class argument is not used, use staticmethod instead
- avoid testing for is_mask three times if one is enough

Former-commit-id: 1116e3096cd5210a0596d1f3938989016e0f3b6c
2022-03-31 16:23:37 +02:00
milesial a445c4bdc4 Fix mask resampling in some cases
Former-commit-id: 8f317cb13c17ef25a86b25a0c24390e04cd4db82
2021-11-03 09:39:21 +01:00
milesial 5cd2a3b0b7 Restructure
Former-commit-id: beadb49b75ea79a3c0f95df589f64a8274419c5b
2021-08-16 06:08:09 +02:00
Renamed from data_loading.py (Browse further)