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

Dimension links #469

Merged
merged 29 commits into from
Jul 20, 2020
Merged

Dimension links #469

merged 29 commits into from
Jul 20, 2020

Commits on Jul 14, 2020

  1. Configuration menu
    Copy the full SHA
    75f98c7 View commit details
    Browse the repository at this point in the history
  2. New DimensionLink class

    achilleas-k committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    6a083f8 View commit details
    Browse the repository at this point in the history
  3. Allow creating range dimensions without ticks

    For linking later.
    achilleas-k committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    08f38ef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac55340 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d61dbc0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4f7bf55 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3f683e7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    de4f455 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2020

  1. Configuration menu
    Copy the full SHA
    f39082c View commit details
    Browse the repository at this point in the history
  2. TestLinkDimension: RangeDimension->DA link tests

    - Replace alias range dimension test with self-link test.
    - Test RangeDimension -> DataArray link
    achilleas-k committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    f21ab60 View commit details
    Browse the repository at this point in the history
  3. Multidimensional indexing should use a tuple

    Deprecation warning
    
      FutureWarning: Using a non-tuple sequence for multidimensional
      indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`.
      In the future this will be interpreted as an array index,
      `arr[np.array(seq)]`, which will result either in an error or a
      different result.
    achilleas-k committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    c53255f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f06e8d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a006340 View commit details
    Browse the repository at this point in the history
  6. TestLinkDimension: Self link tests

    For both Range and Set dimensions
    achilleas-k committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    c73bb77 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b59c7ac View commit details
    Browse the repository at this point in the history
  8. Remove unnecessary SampledDimension redirect

    Using group redirect method is unnecessary for SampledDimensions since
    they don't support linking
    achilleas-k committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    86b807f View commit details
    Browse the repository at this point in the history
  9. RangeDimension.unit: Read through to linked unit

    Return unit directly for DataArray links.
    Return unit of indexed column for DataFrame links.
    achilleas-k committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    a5d7be4 View commit details
    Browse the repository at this point in the history
  10. RangeDimension.label: Read through to linked label

    Return label directly for DataArray links.
    Return name of indexed column for DataFrame links.
    achilleas-k committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    55a28c6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8c8f1c0 View commit details
    Browse the repository at this point in the history
  12. Remove AliasRangeDimension and DataFrameDimension

    - Removed DataFrameDimension class.
    - Removed all mentions of alias range dimension from DataArray.
    - Removed associated tests and test sections.
    achilleas-k committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    44f005b View commit details
    Browse the repository at this point in the history
  13. Index validation for DataFrame dimension link

    Should not be negative either.
    achilleas-k committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    3a88408 View commit details
    Browse the repository at this point in the history
  14. Index validation for DataArray dimension link

    Should not have negative values except one -1.
    achilleas-k committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    e3a0330 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2fd8031 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2020

  1. Configuration menu
    Copy the full SHA
    47cb753 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2020

  1. DimensionLink: Write through label and unit

    Can now write through to the linked data object when setting label and
    unit on RangeDimension:
    - RangeDimension ticks cannot be changed.
    - RangeDimension label linked to DataArray changes the DataArray label.
    - RangeDimension label linked to DataFrame raises error: The column name
      of a DataFrame can't be changed since it's the name of a field of
      a compound data type, which we can't change.
    - RangeDimension unit linked to DataArray changes the DataArray unit.
    - RangeDimension unit linked to DataFrame changes the DataFrame column
      unit.
    - SetDimension labels cannot be changed.
    achilleas-k committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    ecc25cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c01021c View commit details
    Browse the repository at this point in the history
  3. Code quality: Remove all unused imports and variables

    pylint warning codes
      W0611: Unused import
      W0612: Unused variable
    achilleas-k committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    86bdee5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    04063e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2020

  1. Configuration menu
    Copy the full SHA
    0ab71e7 View commit details
    Browse the repository at this point in the history