diff --git a/xnat2mids/xnat/project.py b/xnat2mids/xnat/project.py index 14577e6..cad880c 100644 --- a/xnat2mids/xnat/project.py +++ b/xnat2mids/xnat/project.py @@ -18,7 +18,7 @@ def get_list_subjects(self, verbose): output = StringIO() if verbose: - print(format_message(self.level_verbose, self.level_tab, "Project: {}".format(self["ID"])), flush=True) + print(format_message(self.level_verbose, self.level_tab, "Project: {}".format(self["secondary_ID"])), flush=True) output.write(try_to_request(self.interface, self.url_xnat + dict_uris["subjects"](self["ID"]) ).text)