You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Copyright (c) The University of Dundee 2018-2019
2
+
// This file is part of the Research Data Management Platform (RDMP).
3
+
// RDMP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
4
+
// RDMP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
5
+
// You should have received a copy of the GNU General Public License along with RDMP. If not, see <https://www.gnu.org/licenses/>.
_cic=(CohortIdentificationConfiguration)_activator.SelectOne("Select a Cohort Identification Configuration",_activator.RepositoryLocator.CatalogueRepository.GetAllObjects<CohortIdentificationConfiguration>().ToArray());
45
+
if(_cicisnull)return;
46
+
}
47
+
if(_cicis not null&&_projectisnull&&_associationToDeleteisnull)
_associationToDelete=(ProjectCohortIdentificationConfigurationAssociation)_activator.SelectOne("Select the association to remove",_existingAssociations);
$"Failed to find Associated Cohort Identification Configuration with ID {association.CohortIdentificationConfiguration_ID} which was supposed to be associated with {association.Project}",
425
-
CheckResult
426
-
.Fail));//inject knowledge of what the cic is so it doesn't have to be fetched during ToString
427
-
}
428
-
else
429
-
{
430
-
association.InjectKnown(matchingCic);
431
-
432
-
//document that it is a child of the project cics node
0 commit comments