Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • P pykat
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

GitLab-15.0 was released on 22 May 2022 and git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org will be updated to this release on the 14 June 2022. This release contains various new features and more importantly several breaking changes. If you are using any of the features outlined in the list of breaking changes then your workflow will encounter errors once this release is installed. If you are using any of these features and can't switch to the replacements before 14 June 2022, or have any general comments, questions, or concerns, please make this known on the following Epic.

  • finesse
  • pykat
  • Issues
  • #3

Closed
Open
Created Jul 28, 2017 by Andreas Freise@adfOwner

constants are not correctly parsed (remembered) when not in the same code block

Example code:

from pykat import finesse
from pykat.commands import *
kat = finesse.kat()
kat.verbose = False

code = """
l laser1 1.0 0 n1 
s s1 0 n1 n2 
pd pow_t n2
const rx 1
#m m1 $rx 0 0 n2 n3

xaxis laser1 P lin 0 1 10 
yaxis abs                 
"""

code2 = "m m1 $rx 0 0 n2 n3"

kat.parseCommands(code)
kat.parseCommands(code2)

out1 = kat.run()
Edited Jul 28, 2017 by Andreas Freise
Assignee
Assign to
Time tracking