Skip to content
Snippets Groups Projects
Commit 220056bb authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

up

parent cb99959a
No related branches found
No related tags found
2 merge requests!39Release 0.4.0,!6Resulttable
Pipeline #9171 failed
......@@ -16,8 +16,9 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
import caosdb as db
import re
import caosdb as db
import pandas as pd
from caosadvancedtools.cfood import (AbstractFileCFood, assure_has_description,
assure_has_parent, assure_has_property,
......@@ -81,4 +82,5 @@ class ResultTableCFood(AbstractFileCFood):
match = re.match(ResultTableCFood.property_name_re, col)
assure_property_is(self.recs[ii], match.group("pname"), row.loc[col], to_be_updated=self.to_be_updated)
assure_property_is(self.experiment, self.match.group("recordtype"),
self.recs, to_be_updated=self.to_be_updated)
self.recs, to_be_updated=self.to_be_updated,
datatype=db.LIST(self.match.group("recordtype")))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment