<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Thanks Alexey
<div><br>
</div>
<div>entityName.drop_table(with_all_data=True) </div>
<div><br>
</div>
<div>works. Also, I changed all entity names to lower case, which might avoid future problems.</div>
<div><br>
</div>
<div>A</div>
<div><br>
<div>
<div>On Jun 20, 2014, at 7:24 AM, Alexey Malashkevich <<a href="mailto:alexeymalashkevich@gmail.com">alexeymalashkevich@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">This happens because the table name which is generated from the entity name is not always equal to the entity name. In MySQL it is recommended to convert the names of the tables to the lower case and Pony follows this recommendation (see more
on this here: <a href="http://blog.ponyorm.com/?p=148">http://blog.ponyorm.com/?p=148</a>)
<div>and due to this the table name for the Subject entity is converted to "subject".</div>
<div><br>
</div>
<div>When you call db.drop_table("Subject", if_exists=True) in MySQL on Linux, this command cannot find the table "Subject", because the name of the table is "subject" and MySQL is case sensitive on Linux.</div>
<div><br>
</div>
<div>In order to delete the table associated with the entity you should use the method drop_table of an entity:</div>
<div><br>
</div>
<div> Subject.drop_table(with_all_data=True)</div>
<div><br>
</div>
<div>Another option is to pass the entity class to the method db.drop_table:</div>
<div><br>
</div>
<div> db.drop_table(Subject, with_all_data=True)</div>
<div><br>
</div>
<div>In this case Pony will get the right name of the table.</div>
<div><br>
</div>
<div>Thanks for the question, I've updated the Pony documentation to cover this topic <a href="http://doc.ponyorm.com/database.html#drop_table">http://doc.ponyorm.com/database.html#drop_table</a></div>
<div><br>
</div>
<div>Regards,</div>
<div>Alexey</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jun 19, 2014 at 11:27 PM, Goldberg, Arthur P <span dir="ltr">
<<a href="mailto:arthur.p.goldberg@mssm.edu" target="_blank">arthur.p.goldberg@mssm.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">drop_table() does not work for me. Using MySQL, starting with an empty dbms.
<div>
<blockquote type="cite">
<div>#!/usr/bin/env python</div>
<div>from pony.orm import *</div>
<div>db = Database()</div>
<div><br>
</div>
<div>class Variant(db.Entity):</div>
<div> pos = Required(str)</div>
<div> SubjectID = Required("Subject")</div>
<div class="">
<div><br>
</div>
<div>class Subject(db.Entity):</div>
<div> FamilyID = Optional(str)</div>
<div> IndivID = PrimaryKey(str)</div>
</div>
<div> Sex = Required(str)</div>
<div> variants = Set(Variant)</div>
<div><br>
</div>
<div># dict with params here</div>
<div>db.bind('mysql', params["host"], params["user"], params["passwd"], params["db"] )</div>
<div><br>
</div>
<div>db.generate_mapping( create_tables=True )</div>
<div><br>
</div>
<div>def dropTable( tableName ):</div>
<div> db.drop_table( tableName, if_exists=True, with_all_data=True )</div>
<div><br>
</div>
<div>@db_session</div>
<div>def inserts():</div>
<div> s1 = Subject( IndivID = 'sub1', Sex = '1',)</div>
<div> s2 = Subject( IndivID = 'sub2', Sex = '2',)</div>
<div><br>
</div>
<div>def main():</div>
<div> inserts()</div>
<div> dropTable('Subject')</div>
<div> inserts()</div>
<div><br>
</div>
<div>main()</div>
</blockquote>
<div>
<div><br>
</div>
<div>generates:</div>
<div>
<blockquote type="cite">
<div>Traceback (most recent call last):</div>
<div> File "/hpc/users/goldba06/repos/asc_datamanagementandprocessing/dbms_pony/t.py", line 34, in <module></div>
<div> main()</div>
<div> File "/hpc/users/goldba06/repos/asc_datamanagementandprocessing/dbms_pony/t.py", line 32, in main</div>
<div> inserts()</div>
<div> File "<auto generated wrapper of inserts() function>", line 2, in inserts</div>
<div> File "/hpc/users/goldba06/.local/lib/python2.7/site-packages/pony/orm/core.py", line 354, in new_func</div>
<div> finally: self.__exit__(exc_type, exc_value, exc_tb)</div>
<div> File "/hpc/users/goldba06/.local/lib/python2.7/site-packages/pony/orm/core.py", line 386, in __exit__</div>
<div> commit()</div>
<div> File "<auto generated wrapper of commit() function>", line 2, in commit</div>
<div> File "/hpc/users/goldba06/.local/lib/python2.7/site-packages/pony/utils.py", line 97, in cut_traceback</div>
<div> return func(*args, **kwargs)</div>
<div> File "/hpc/users/goldba06/.local/lib/python2.7/site-packages/pony/orm/core.py", line 281, in commit</div>
<div> reraise(CommitException, exceptions)</div>
<div> File "/hpc/users/goldba06/.local/lib/python2.7/site-packages/pony/orm/core.py", line 275, in commit</div>
<div> try: primary_cache.commit()</div>
<div> File "/hpc/users/goldba06/.local/lib/python2.7/site-packages/pony/orm/core.py", line 941, in commit</div>
<div> if cache.modified: cache.flush()</div>
<div> File "/hpc/users/goldba06/.local/lib/python2.7/site-packages/pony/orm/core.py", line 1006, in flush</div>
<div> if obj is not None: obj._save_()</div>
<div> File "/hpc/users/goldba06/.local/lib/python2.7/site-packages/pony/orm/core.py", line 3938, in _save_</div>
<div> if status == 'created': obj._save_created_()</div>
<div> File "/hpc/users/goldba06/.local/lib/python2.7/site-packages/pony/orm/core.py", line 3838, in _save_created_</div>
<div> % (obj, e.__class__.__name__, msg), e)</div>
<div> File "/hpc/users/goldba06/.local/lib/python2.7/site-packages/pony/utils.py", line 124, in throw</div>
<div> raise exc</div>
<div>pony.orm.core.CommitException: Object Subject['sub1'] cannot be stored in the database. IntegrityError: 1062 Duplicate entry 'sub1' for key 'PRIMARY'</div>
</blockquote>
</div>
<div>
<div><br>
</div>
</div>
<div>which is what we expect if the table isn't dropped.</div>
<div>What I want to do is have these modules:</div>
<div>utilities: connect to dbms, and optionally drop a table</div>
<div>entities: the entities</div>
<div>load file: load a file into a table</div>
<div>query: some queries</div>
<div>load file, and query optionally use utilities</div>
<div><br>
</div>
<div><br>
<div>
<div class="">
<div>On Jun 19, 2014, at 10:24 AM, Alexey Malashkevich <<a href="mailto:alexeymalashkevich@gmail.com" target="_blank">alexeymalashkevich@gmail.com</a>> wrote:</div>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">Hi Arthur,
<div><br>
</div>
<div>1. The method which you've used - db.get_connection().executescript() is specific for SQLite only. </div>
<div>You need to use the method db.execute() which works for all databases: <a href="http://doc.ponyorm.com/database.html#execute" target="_blank">
http://doc.ponyorm.com/database.html#execute</a></div>
<div>Also you can use methods for dropping the database tables:</div>
<div><a href="http://doc.ponyorm.com/database.html#drop_table" target="_blank">http://doc.ponyorm.com/database.html#drop_table</a></div>
<div><a href="http://doc.ponyorm.com/database.html#drop_all_tables" target="_blank">http://doc.ponyorm.com/database.html#drop_all_tables</a></div>
<div><br>
</div>
<div>2. The official way to get all entity attributes is getting the _attrs_ attribute from the entity class:</div>
<div><br>
</div>
<div> MyEntity._attrs_</div>
<div><br>
</div>
<div>It returns the list of all the entity attributes. You can iterate over this list and examine the attribute properties. For example, this is how you can print all attribute names which are not collections (collection means one-to-many relationship attribute):</div>
<div><br>
</div>
<div> for attr in MyEntity._attrs_:</div>
<div> if not <a href="http://attr.is/" target="_blank">attr.is</a>_collection:</div>
<div> print <a href="http://attr.name/" target="_blank">attr.name</a></div>
<div><br>
</div>
<div>Below you can see a couple of functions for getting attributes:</div>
<div>
<div><br>
</div>
<div>def get_all_attrs(entity_cls):</div>
<div> return [ attr for attr in entity_cls._attrs_ ]</div>
<div><br>
</div>
<div>def get_attrs_with_columns(entity_cls):</div>
<div> return [ attr for attr in entity_cls._attrs_with_columns_ ]</div>
<div><br>
</div>
<div>def get_collection_attrs(entity_cls):</div>
<div> return [ attr for attr in entity_cls._attrs_ if <a href="http://attr.is/" target="_blank">
attr.is</a>_collection ]</div>
<div><br>
</div>
<div>def get_all_attr_names(entity_cls):</div>
<div> return [ <a href="http://attr.name/" target="_blank">attr.name</a> for attr in entity_cls._attrs_ ]</div>
</div>
<div><br>
</div>
<div>Please let us know if you have further questions.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Alexey</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jun 19, 2014 at 3:13 AM, Goldberg, Arthur P <span dir="ltr">
<<a>arthur.p.goldberg@mssm.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Pony's nifty -- thanks.
<div><br>
</div>
<div>Some questions:</div>
<div><br>
</div>
<div>1. Direct SQL. Suppose I want to drop a table. I thought that this would work because executescript() appears in examples</div>
<div>
<blockquote type="cite">
<div> sql = "DROP TABLE IF EXISTS %s;" % tableName</div>
<div> db.get_connection().executescript(sql)</div>
</blockquote>
</div>
<div>
<div><br>
</div>
</div>
<div>2. Entity class fields. Suppose I have</div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div>class Subject(db.Entity):</div>
<div> FamilyID = Optional(str)</div>
<div> IndivID = PrimaryKey(str)</div>
<div> PatID = Optional(str, default='0')</div>
<div> MatID = Optional(str, default='0')</div>
<div> Sex = Required(str)</div>
<div> Pheno = Required(int)</div>
<div> SampleSet = Required(str)</div>
<div> variants = Set(Variant)</div>
</blockquote>
<blockquote type="cite">className = 'Subject' </blockquote>
<blockquote type="cite">self.slqobj = globals()[ className ]</blockquote>
</div>
<div>
<blockquote type="cite">
<div># I can get all fields in Subject with</div>
<div>self.slqobj._attrs_</div>
</blockquote>
</div>
<div>
<div><br>
</div>
</div>
<div>but is there an official method?</div>
<div><br>
</div>
<div>Thanks</div>
<div>Arthur</div>
<div><br>
<div>
<div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<span style="border-collapse:separate;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium">
<div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px">
<div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px">
<div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px">
<div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px">
<div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px">
<div style="word-wrap:break-word">
<div style="word-wrap:break-word">
<div style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium">
<div style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium">
---</div>
<div> </div>
<div>Arthur Goldberg
<div style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium">
Associate Professor of Psychiatry</div>
<div>Seaver Autism Center and Icahn Institute for Genomics & Multiscale Biology</div>
<div>Icahn School of Medicine at Mount Sinai</div>
<div style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium">
Seaver Center, Room ABE-33</div>
<div style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium">
<a href="tel:212-241-4229" target="_blank">212-241-4229</a><br>
<a>Arthur.Goldberg@mssm.edu</a></div>
</div>
</div>
<div>Follow us on Twitter <a href="https://twitter.com/IcahnInstitute" target="_blank">@IcahnInstitute</a></div>
<div style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium">
<br>
</div>
</div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</div>
</div>
<br>
<br>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
ponyorm-list mailing list<br>
<a>ponyorm-list@ponyorm.org</a><br>
<a href="/ponyorm-list" target="_blank">/ponyorm-list</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
ponyorm-list mailing list<br>
<a href="mailto:ponyorm-list@ponyorm.org" target="_blank">ponyorm-list@ponyorm.org</a><br>
<a href="/ponyorm-list" target="_blank">/ponyorm-list</a><br>
</blockquote>
</div>
</div>
</div>
<div>
<div class="h5"><br>
<div>
<div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word; ">
<div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word; ">
<div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word; ">
<span style="border-collapse:separate;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; font-size: medium; ">
<div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px">
<div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px">
<div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px">
<div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px">
<div style="word-wrap:break-word"><span style="text-align:-webkit-auto;text-indent:0px">
<div style="word-wrap:break-word">
<div style="word-wrap:break-word">
<div style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; font-size: medium; ">
<div style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; font-size: medium; ">
---</div>
<div> </div>
<div>Arthur Goldberg
<div style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; font-size: medium; ">
Associate Professor of Psychiatry</div>
<div>Seaver Autism Center and Icahn Institute for Genomics & Multiscale Biology</div>
<div>Icahn School of Medicine at Mount Sinai</div>
<div style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; font-size: medium; ">
Seaver Center, Room ABE-33</div>
<div style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; font-size: medium; ">
212-241-4229<br>
<a href="mailto:Arthur.Goldberg@mssm.edu" target="_blank">Arthur.Goldberg@mssm.edu</a></div>
</div>
</div>
<div>Follow us on Twitter <a href="https://twitter.com/IcahnInstitute" target="_blank">@IcahnInstitute</a></div>
<div style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; font-size: medium; ">
<br>
</div>
</div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</div>
</div>
<br>
<br>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
ponyorm-list mailing list<br>
<a href="mailto:ponyorm-list@ponyorm.org">ponyorm-list@ponyorm.org</a><br>
<a href="/ponyorm-list" target="_blank">/ponyorm-list</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
ponyorm-list mailing list<br>
<a href="mailto:ponyorm-list@ponyorm.org">ponyorm-list@ponyorm.org</a><br>
/ponyorm-list<br>
</blockquote>
</div>
<br>
<div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; -webkit-text-decorations-in-effect: none; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; -webkit-text-decorations-in-effect: none; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; -webkit-text-decorations-in-effect: none; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; -webkit-text-decorations-in-effect: none; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; -webkit-text-decorations-in-effect: none; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
---</div>
<div> </div>
<div>Arthur Goldberg
<div style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
Associate Professor of Psychiatry</div>
<div>Seaver Autism Center and Icahn Institute for Genomics & Multiscale Biology</div>
<div>Icahn School of Medicine at Mount Sinai</div>
<div style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
Seaver Center, Room ABE-33</div>
<div style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
212-241-4229<br>
<a href="mailto:Arthur.Goldberg@mssm.edu">Arthur.Goldberg@mssm.edu</a></div>
</div>
</div>
<div>Follow us on Twitter <a href="https://twitter.com/IcahnInstitute">@IcahnInstitute</a></div>
<div style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<br>
</div>
</div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</div>
</body>
</html>