Skip to content

Creating gds file example? #1

Description

@biona001

Hello, how would I use this package to create some gds files?

Reading the source code, put_attr_gdsn seems like the logical candidate but it doesn't work

using jugds
sigma = rand(5, 5)
gds = create_gds("test_gds.gds") # create empty gds
put_attr_gdsn(gds, "sigma", sigma) # write to gds

ERROR: MethodError: no method matching put_attr_gdsn(::type_gdsfile, ::String, ::Matrix{Float64})
Closest candidates are:
  put_attr_gdsn(::type_gdsnode, ::String, ::Any) at /scratch/users/bbchu/.julia/packages/jugds/mO314/src/jugds.jl:283

Above code was ran on Julia 1.6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions