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

Refactor/xwakes #6

Closed
wants to merge 19 commits into from
Prev Previous commit
Next Next commit
Add missing files
  • Loading branch information
giadarol committed Jun 20, 2024
commit 5494b7c1d2ea8f262d578ed2300403e09b05a97c
1 change: 1 addition & 0 deletions pywit/component.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.component import *
1 change: 1 addition & 0 deletions pywit/devices.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.devices import *
10 changes: 10 additions & 0 deletions pywit/doit.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import os

fff = os.listdir('../xwakes/wit')

for nn in fff:
if not nn.endswith('.py') or nn.startswith('_'):
continue

with open(nn, 'w') as fid:
fid.write(f'from xwakes.wit.{nn.split(".py")[0]} import *\n')
1 change: 1 addition & 0 deletions pywit/element.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.element import *
1 change: 1 addition & 0 deletions pywit/elements_group.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.elements_group import *
1 change: 1 addition & 0 deletions pywit/interface.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.interface import *
1 change: 1 addition & 0 deletions pywit/landau_damping.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.landau_damping import *
1 change: 1 addition & 0 deletions pywit/materials.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.materials import *
1 change: 1 addition & 0 deletions pywit/model.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.model import *
1 change: 1 addition & 0 deletions pywit/parameters.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.parameters import *
1 change: 1 addition & 0 deletions pywit/plot.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.plot import *
1 change: 1 addition & 0 deletions pywit/sacherer_formula.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.sacherer_formula import *
1 change: 1 addition & 0 deletions pywit/utilities.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.utilities import *
1 change: 1 addition & 0 deletions pywit/utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from xwakes.wit.utils import *