clearer message

This commit is contained in:
Martin Diehl 2022-03-09 15:18:18 +01:00
parent 20e056e26a
commit 05541736a6
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class Result:
""" """
if increments is not None and times is not None: if increments is not None and times is not None:
raise ValueError('cannot use "increments" and "times" at the same time to change view') raise ValueError('"increments" and "times" are mutually exclusive')
dup = self.copy() dup = self.copy()
for what,datasets in zip(['increments','times','phases','homogenizations','fields'], for what,datasets in zip(['increments','times','phases','homogenizations','fields'],