Commit 2bd38f63 authored by Gabriel Couture's avatar Gabriel Couture

Fix code to work with python 3.6 version (for the gitlab-ci)

parent c22f33f7
Pipeline #187 passed with stage
in 9 seconds
# coding: utf-8
# author: gabriel couture
from __future__ import annotations
import json
from typing import List
......@@ -58,7 +57,7 @@ class DVH:
return True if self.volume_unit in DVH.VALID_VOLUME_UNITS else False
def read_from_json(cls, file_path: str) -> DVH:
def read_from_json(cls, file_path: str) -> 'DVH':
"""Read DVH data from given path.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment