From 0cc344623fe97f3659db13feba5d366dc9d1124e Mon Sep 17 00:00:00 2001 From: adewyer Date: Thu, 17 Feb 2022 15:47:58 -0800 Subject: [PATCH 1/4] add isNonPeriodic to required schema properties for materials --- express/properties/material.py | 1 + requirements-dev.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/express/properties/material.py b/express/properties/material.py index feabd59b..184415ad 100644 --- a/express/properties/material.py +++ b/express/properties/material.py @@ -121,6 +121,7 @@ def _serialize(self): "slug": "" }, "schemaVersion": "0.2.0", + "isNonPeriodic": False, } def _elemental_ratios(self): diff --git a/requirements-dev.txt b/requirements-dev.txt index 7d81def3..0ae86260 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,7 +5,8 @@ click==7.0 coverage==5.3 cycler==0.10.0 decorator==4.4.2 -esse==2021.09.09 +# esse==2021.09.09 +-e ../esse exabyte-json-include==2021.05.06 flask==1.0.2 idna==2.7 From d7d73af3126d2a76fa7bf3452268a5ca3dfa2bb3 Mon Sep 17 00:00:00 2001 From: adewyer Date: Thu, 17 Feb 2022 16:28:19 -0800 Subject: [PATCH 2/4] set isNonPeriodic based on self.is_non_periodic --- express/properties/material.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/express/properties/material.py b/express/properties/material.py index 184415ad..da04c384 100644 --- a/express/properties/material.py +++ b/express/properties/material.py @@ -121,7 +121,7 @@ def _serialize(self): "slug": "" }, "schemaVersion": "0.2.0", - "isNonPeriodic": False, + "isNonPeriodic": self.is_non_periodic, } def _elemental_ratios(self): From 253561f21a8e601fa53c841d8fea7fc91b7df4d2 Mon Sep 17 00:00:00 2001 From: adewyer Date: Thu, 17 Feb 2022 17:38:48 -0800 Subject: [PATCH 3/4] updated esse github link in requirements --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 0ae86260..37749b53 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,7 +6,7 @@ coverage==5.3 cycler==0.10.0 decorator==4.4.2 # esse==2021.09.09 --e ../esse +git+https://git@github.com/Exabyte-io/esse@8e0897d3a5a6139970ad3d76b8b0c497100c0305#egg=esse exabyte-json-include==2021.05.06 flask==1.0.2 idna==2.7 From e9d6a0782a79aa04a00894e6a1332cf1f2b91766 Mon Sep 17 00:00:00 2001 From: adewyer Date: Fri, 18 Feb 2022 13:11:19 -0800 Subject: [PATCH 4/4] updated esse link in requirements --- requirements-dev.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 37749b53..0d90fd71 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,7 +6,8 @@ coverage==5.3 cycler==0.10.0 decorator==4.4.2 # esse==2021.09.09 -git+https://git@github.com/Exabyte-io/esse@8e0897d3a5a6139970ad3d76b8b0c497100c0305#egg=esse +# -e ../esse +git+https://git@github.com/Exabyte-io/esse@ecc26ff1bbf191f392572840faf20d145f93f659#egg=esse exabyte-json-include==2021.05.06 flask==1.0.2 idna==2.7