From a9c99a3c256a03445081908037e6abf2dd39e8d4 Mon Sep 17 00:00:00 2001 From: Ben Blaiszik Date: Tue, 6 Feb 2024 10:03:15 -0600 Subject: [PATCH] Minor fixes to work with MDF Connect Client v0.5.0 (#432) --- foundry/foundry.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/foundry/foundry.py b/foundry/foundry.py index 27e3877e..07f49ab3 100644 --- a/foundry/foundry.py +++ b/foundry/foundry.py @@ -391,7 +391,7 @@ def publish_dataset( dataset_doi=kwargs.get("dataset_doi", ""), related_dois=kwargs.get("related_dois", []) ) - self.connect_client.add_organization(self.config.organization) + self.connect_client.set_organization(self.config.organization) self.connect_client.set_project_block( self.config.metadata_key, foundry_metadata) diff --git a/setup.py b/setup.py index ae2b02b9..b193faf1 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ packages = (setuptools.find_packages(),) setuptools.setup( name="foundry_ml", - version="0.7.4", + version="0.7.5", author="""Aristana Scourtas, KJ Schmidt, Isaac Darling, Aadit Ambadkar, Braeden Cullen, Imogen Foster, Ribhav Bose, Zoa Katok, Ethan Truelove, Ian Foster, Ben Blaiszik""", author_email="blaiszik@uchicago.edu", @@ -19,7 +19,7 @@ "numpy>=1.15.4", "pandas>=0.23.4", "pydantic<2.0.0", - "mdf_connect_client>=0.4.0", + "mdf_connect_client>=0.5.0", "h5py>=2.10.0", "json2table" ],