mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 20:34:58 +01:00
Merge pull request #138 from QuantumPackage/TApplencourt-patch-1
Fix space in size for EZFIO.cfg
This commit is contained in:
commit
fd990ec9ca
@ -398,7 +398,7 @@ def create_ezfio_stuff(dict_ezfio_cfg, config_or_default="config"):
|
|||||||
try:
|
try:
|
||||||
(begin, end) = map(str.strip, dim.split(":"))
|
(begin, end) = map(str.strip, dim.split(":"))
|
||||||
except ValueError:
|
except ValueError:
|
||||||
a_size_raw.append(dim)
|
a_size_raw.append(dim.strip())
|
||||||
else:
|
else:
|
||||||
if begin[0] == '-':
|
if begin[0] == '-':
|
||||||
a_size_raw.append("{0}+{1}+1".format(end, begin[1:]))
|
a_size_raw.append("{0}+{1}+1".format(end, begin[1:]))
|
||||||
|
Loading…
Reference in New Issue
Block a user