mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 19:30:25 +00:00
black, sort imports
This commit is contained in:
@@ -243,9 +243,7 @@ class MSP2Ifc:
|
||||
|
||||
# <Name> is the file the export came from; <Title> is what the planner
|
||||
# called the programme, and is the string a viewer puts in its header.
|
||||
self.project["Name"] = (
|
||||
self.text(project, "Title") or self.text(project, "Name") or "Unnamed"
|
||||
)
|
||||
self.project["Name"] = self.text(project, "Title") or self.text(project, "Name") or "Unnamed"
|
||||
self.project["CalendarUID"] = self.text(project, "CalendarUID")
|
||||
minutes_per_day = self.text(project, "MinutesPerDay")
|
||||
self.project["MinutesPerDay"] = minutes_per_day
|
||||
|
||||
@@ -37,8 +37,8 @@ from pathlib import Path
|
||||
import ifcopenshell
|
||||
import ifcopenshell.api.aggregate
|
||||
import ifcopenshell.api.context
|
||||
import ifcopenshell.api.georeference
|
||||
import ifcopenshell.api.geometry
|
||||
import ifcopenshell.api.georeference
|
||||
import ifcopenshell.api.project
|
||||
import ifcopenshell.api.root
|
||||
import ifcopenshell.api.spatial
|
||||
|
||||
Reference in New Issue
Block a user