Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importer: "Reload under the same settings" does not work #2145

Open
PavelBal opened this issue Sep 19, 2023 · 1 comment
Open

Importer: "Reload under the same settings" does not work #2145

PavelBal opened this issue Sep 19, 2023 · 1 comment
Labels
Importer-Redesign Redesign of observed data import type: bug

Comments

@PavelBal
Copy link
Member

Application:
PK-Sim® 11.2.142

Key 'Compartment' could not be found

Stack trace:

at OSPSuite.Utility.Collections.Cache`2.<>c.<.ctor>b__11_0(TKey key)
   at OSPSuite.Utility.Collections.Cache`2.get_Item(TKey key)
   at OSPSuite.Presentation.Services.DataImporter.<>c__DisplayClass6_0.<AreFromSameMetaDataCombination>b__0(KeyValuePair`2 keyValuePair)
   at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
   at OSPSuite.Presentation.Services.DataImporter.AreFromSameMetaDataCombination(DataRepository sourceDataRepository, DataRepository targetDataRepository)
   at OSPSuite.Presentation.Services.DataImporter.<>c__DisplayClass7_0.<repositoryExistsInList>b__0(DataRepository dataRepo)
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at OSPSuite.Presentation.Services.DataImporter.repositoryExistsInList(IEnumerable`1 dataRepositoryList, DataRepository targetDataRepository)
   at OSPSuite.Presentation.Services.DataImporter.<>c__DisplayClass5_0.<CalculateReloadDataSetsFromConfiguration>b__0(DataRepository dataSet)
   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at OSPSuite.Presentation.Services.DataImporter.CalculateReloadDataSetsFromConfiguration(IReadOnlyList`1 dataSetsToImport, IReadOnlyList`1 existingDataSets)
   at PKSim.Infrastructure.Services.ImportObservedDataTask.AddAndReplaceObservedDataFromConfigurationToProject(ImporterConfiguration configuration, IEnumerable`1 observedDataFromSameFile)
   at PKSim.Presentation.UICommands.ReloadAllObservedDataCommand.PerformExecute()
   at OSPSuite.Presentation.UICommands.ObjectUICommand`1.Execute()
   at OSPSuite.Presentation.UICommands.UICommandExtensions.ExecuteWithinExceptionHandler(IUICommand uiCommand, IEventPublisher eventPublisher, IChangePropagator changePropagator)
@msevestre msevestre transferred this issue from Open-Systems-Pharmacology/PK-Sim Oct 17, 2023
@msevestre
Copy link
Member

Maybe @georgeDaskalakis could check this out

@Yuri05 Yuri05 added type: bug Importer-Redesign Redesign of observed data import labels Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Importer-Redesign Redesign of observed data import type: bug
Projects
None yet
Development

No branches or pull requests

3 participants